<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<title><?= $sf_response->getTitle() ?></title>
<td><?php if ($components_by_client->getStatus()!=CommonValues::$gCBCStatus['key']['Revised'] ) echo link_to($components_by_client->getBom() ? $components_by_client->getBom() : __('-'), 'componentsbyclient/edit?id='.$components_by_client->getId()) ; 
    else echo $components_by_client->getBom();
    ?></td>
    <td><?php echo $components_by_client->getProject() ?></td>
      <td><?php echo $components_by_client->getClient() ?></td>
      <td><?php echo link_to($components_by_client->getComponentgroupId() ? image_tag('/sf/sf_admin/images/list.png', array('alt' => 'List', 'title' => 'List')):  __('-'), 'component/SLListModuleGroup?componentgroup_id='.$components_by_client->getComponentgroupId().'&Authentication=VIEW_COMPSBYCLIENT&titleqty=Qty Needed&titleqty2=Qty In&titleqty3=Qty Out&titleqty4=Qty Unused&backURL=componentsbyclient~1list~2id~4'.$components_by_client->getId()) ?></td>
      <td><?php echo ($components_by_client->getCreatedAt() !== null && $components_by_client->getCreatedAt() !== '') ? format_date($components_by_client->getCreatedAt(), "D") : '' ?></td>
      <td><?php echo CommonValues::$gCBCStatus['value'][$components_by_client->getStatus()? $components_by_client->getStatus() : 0] ?></td>